// To parse this JSON data, do
//
//     final myCard = myCardFromJson(jsonString);

import 'dart:convert';

MyCard myCardFromJson(String str) => MyCard.fromJson(json.decode(str));

String myCardToJson(MyCard data) => json.encode(data.toJson());

class MyCard {
  int mybatisRecordCount;
  dynamic orderNo;
  String jsonUpdateFlag;
  String id;
  String iccidMark;
  int createDate;
  String bindPhone;
  String category;
  String phone;
  dynamic accountId;
  String accountName;
  dynamic name;
  dynamic idCard;
  int type;
  int status;
  dynamic gnum;

  MyCard({
    required this.mybatisRecordCount,
    required this.orderNo,
    required this.jsonUpdateFlag,
    required this.id,
    required this.iccidMark,
    required this.createDate,
    required this.bindPhone,
    required this.category,
    required this.phone,
    required this.accountId,
    required this.accountName,
    required this.name,
    required this.idCard,
    required this.type,
    required this.status,
    required this.gnum,
  });

  factory MyCard.fromJson(Map<String, dynamic> json) => MyCard(
    mybatisRecordCount: json["mybatisRecordCount"],
    orderNo: json["orderNo"],
    jsonUpdateFlag: json["jsonUpdateFlag"],
    id: json["id"],
    iccidMark: json["iccidMark"],
    createDate: json["createDate"],
    bindPhone: json["bindPhone"],
    category: json["category"],
    phone: json["phone"],
    accountId: json["accountId"],
    accountName: json["accountName"],
    name: json["name"],
    idCard: json["idCard"],
    type: json["type"],
    status: json["status"],
    gnum: json["gnum"],
  );

  Map<String, dynamic> toJson() => {
    "mybatisRecordCount": mybatisRecordCount,
    "orderNo": orderNo,
    "jsonUpdateFlag": jsonUpdateFlag,
    "id": id,
    "iccidMark": iccidMark,
    "createDate": createDate,
    "bindPhone": bindPhone,
    "category": category,
    "phone": phone,
    "accountId": accountId,
    "accountName": accountName,
    "name": name,
    "idCard": idCard,
    "type": type,
    "status": status,
    "gnum": gnum,
  };
}
